package com.cleaningcloud.cld.service;

import com.cleaningcloud.cld.domain.CldMaterialDetails;
import com.cleaningcloud.cld.domain.CldProjectRepository;
import com.cleaningcloud.cld.domain.excelExport.ProjectRepositoryExprot;
import com.cleaningcloud.cld.domain.vo.CldTeamMemberDetailsVo;

import java.util.List;
import java.util.Map;

public interface ICldProjectRepositoryService {

    // TODO: 云管理调用

    /**
     * 获取项目仓库
     * @param cldProjectRepository
     * @return
     */
    List<CldProjectRepository> selectCldProjectRepositoryList(CldProjectRepository cldProjectRepository);


    /**
     * 物资明细
     * @return
     */
    List<CldMaterialDetails> selectCldMaterialDetailsList(CldMaterialDetails cldMaterialDetails);


    /**
     * 根据岗位仓库id查询消耗记录
     * @param wareId
     * @return
     */
    List<CldMaterialDetails> selectGroupConsumeList(Long wareId);

    /**
     * 查询组员明细
     * @param projectId
     * @return
     */
    Map<String,Object> selectCldTeamMemberDetailsList(CldProjectRepository cldProjectRepository);


    /**
     * 根据项目仓库id和商品id查询员工库存数量
     * @param cldMaterialDetails
     * @return
     */
    List<Map<String,Object>> selectStaffStockList(CldMaterialDetails cldMaterialDetails);

    /**
     * @Author Shaw
     * @Description 项目仓库物资明细列表导出
     * @date: 2025-03-18 9:13
     * @param: //TODO
     */
    List<ProjectRepositoryExprot> exportProjectRepositoryList(ProjectRepositoryExprot projectRepositoryExprot);
}
